package com.woniuxy.flowable.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "customer-management", url = "http://localhost:8001/api/customers")
public interface CustomerFeign {
    @GetMapping("/success")
    void handleApproveSuccess(
            @RequestParam("processInstanceId") String processInstanceId, @RequestParam("customerCode") String customerCode);
}
